package com.sdry.mapper.zc;

import java.util.List;

import com.sdry.model.hpf.Part;
import com.sdry.model.workplace.MousseBundleSample;
import com.sdry.model.zc.ZcMsSpotCheckDetailsEntity;
import com.sdry.model.zc.ZcMsSpotCheckEntity;
import com.sdry.model.zc.ZcQueryCriteria;

/**
 * 
 * @ClassName:    ZcMsSpotCheckMapper   
 * @Description:  膜丝抽检
 * @Author:       zc   
 * @CreateDate:   2018年10月18日 下午4:17:32   
 * @Version:      v1.0
 */
public interface ZcMsSpotCheckMapper {
	
	/**
	 * 查询膜丝抽检单列表
	 * @param zcQueryCriteria
	 * @return
	 */
	public List<ZcMsSpotCheckEntity> selectMsSpotCheckList(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 查询膜丝抽检单列表数目
	 * @param zcQueryCriteria
	 * @return
	 */
	public int countMsSpotCheckList(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 保存膜丝抽检单
	 * @param zcMsSpotCheckEntity
	 * @return
	 */
	public int insertMsSpotCheck(ZcMsSpotCheckEntity zcMsSpotCheckEntity);
	/**
	 * 删除膜丝抽检单
	 * @param id
	 * @return
	 */
	public int delMsSpotCheckArr(long id);
	/**
	 * 编辑膜丝抽检单
	 * @param zcMsSpotCheckEntity
	 * @return
	 */
	public int updateMsSpotCheck(ZcMsSpotCheckEntity zcMsSpotCheckEntity);
	/**
	 * 查询膜丝抽检单详情
	 * @param zcQueryCriteria
	 * @return
	 */
	public List<ZcMsSpotCheckDetailsEntity> selectMsSpotCheckDetailsListByNumber(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 查询膜丝抽检单详情数量
	 * @param zcQueryCriteria
	 * @return
	 */
	public int countMsSpotCheckDetailsListByNumber(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 保存膜丝抽检单详情
	 * @param zcMsSpotCheckDetailsEntity
	 * @return
	 */
	public int insertMsSpotCheckDetails(ZcMsSpotCheckDetailsEntity zcMsSpotCheckDetailsEntity);
	/**
	 * 通过膜丝编码查询膜丝捆编码
	 * @param msCode
	 * @return
	 */
	public MousseBundleSample selectMbCodeByMsCode(String msCode);
	/**
	 * 删除抽检详情
	 * @param id
	 * @return
	 */
	public int delMsSpotCheckArrDetails(long id);
	/**
	 * 查询膜丝抽检统计表
	 * @param zcQueryCriteria
	 */
	public List<ZcMsSpotCheckDetailsEntity> selectMsSpotCheckStatisticsTable(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 查询膜丝抽检统计表数目
	 * @param zcQueryCriteria
	 */
	public int countMsSpotCheckStatisticsTable(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 全查膜丝名称列表
	 * @return
	 */
	public List<Part> selectMsNameList();
	/**
	 * 通过膜丝名称查询膜丝规格
	 * @return
	 */
	public List<Part> selectMsStandardListByName(String msName);
}
